SRFM\Inc\Helper D

Total Complexity 176
Dependencies 7
Dependents 36
Total lines 1,226
Lines of code 610
Logical lines of code 267
Comment lines 479
Methods 45
Properties 2

Methods 45

Method Rating Maintainability Complexity Lines of code
generate_common_form_markup()
B
46 20 29
process_blocks()
A
49 15 29
get_css_vars()
A
33 4 121
validate_request_context()
S
59 8 14
get_sureforms()
S
52 7 25
get_background_classes()
S
55 7 19
get_block_id_from_key()
S
59 6 13
is_sureforms_admin_page()
S
63 6 9
get_sureforms_website_url()
S
60 5 13
sanitize_by_field_type()
S
59 5 13
sanitize_recursively()
S
60 5 13
get_string_value()
S
62 5 12
get_instant_form_live_data()
S
64 5 9
is_suretriggers_ready()
S
63 5 10
generate_unique_block_slug()
S
62 5 10
get_items_permissions_check()
S
58 4 15
map_slug_to_submission_data()
S
60 4 12
current_user_can()
S
65 4 9
fetch_svg()
S
59 3 13
generate_slug()
S
62 3 11
get_entries_from_form_ids()
S
53 2 24
update_admin_settings_option()
S
77 3 3
get_integer_value()
S
64 3 10
decrypt()
S
67 3 7
get_default_dynamic_block_option()
S
66 3 8
join_strings()
S
65 3 9
get_array_value()
S
67 3 9
encrypt()
S
67 3 7
get_field_label_from_key()
S
65 3 8
get_meta_value()
S
67 3 7
default_dynamic_block_option()
S
54 1 22
get_sureforms_blocks()
S
57 1 20
sanitize_number()
S
69 2 6
get_sureforms_title_with_ids()
S
68 2 7
get_field_type_from_key()
S
69 2 6
convert_fileurl_to_filepath()
S
67 2 7
get_post_meta()
S
74 2 4
get_gradient_css()
S
68 2 6
get_field_type_sanitize_function()
S
61 1 13
encode_json()
S
78 1 3
register_script_translations()
S
79 1 3
get_excluded_fields()
S
74 1 4
decode_block_attribute()
S
65 1 8
is_valid_css_class_name()
S
74 1 4
get_common_err_msg()
S
70 1 6